package fr.vvins.core.biz.user.dto;

import java.io.Serializable;

import fr.vvins.core.common.dto.BeanDtoImpl;
import fr.vvins.core.common.dto.annotation.Dto;
import fr.vvins.core.user.entity.UserContact;

/**
 * UserContact entity
 */
@Dto(name="UserContact", entity=UserContact.class)
public class UserContactDto extends BeanDtoImpl implements Serializable {

	private static final long serialVersionUID = -7535917371737088208L;
	private ContactDto contact;
	private String type;

	public UserContactDto() {
	}

	public UserContactDto(Integer id, UserDto user, ContactDto contact, String type) {
		super();
		this.id = id;
		this.contact = contact;
		this.type = type;
	}


	public ContactDto getContact() {
		return contact;
	}

	public void setContact(ContactDto contact) {
		this.contact = contact;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	

}
